package com.dfrobot.demo.domain.entity;

import java.util.Date;
import javax.persistence.*;
import lombok.Data;

@Data
@Table(name = "product_recommendation")
public class ProductRecommendation {
    @Id
    @Column(name = "product_id")
    private Integer productId;

    @Id
    private String recommends;

    @Id
    private Integer version;

    private Integer index;

    private Date date;
}